<extend name="../layout" />

<block name="main_content">
    <include file="Common:SettingsHeader:member" />
    <div class="widget-box">
        <div class="widget-title"> <span class="icon"> <i class="icon-info-sign"></i> </span>
            <h5>{:L('add_new_goods_category')}</h5>
            <a href="{:U('index')}" class="label label-info">{:L('go_back')}</a>
        </div>
        <div class="widget-content nopadding">
            <form class="form-horizontal" method="post" action="__URL__/insert">
                <div class="control-group">
                    <label class="control-label">{:L("parent_node")}</label>
                    <div class="controls">
                        {$parent.name}
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label">{:L("name")}</label>
                    <div class="controls">
                        <input type="text" name="name" id="name" required />
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label">{:L("listorder")}</label>
                    <div class="controls">
                        <input type="text" name="listorder" id="listorder" value="99" required />
                    </div>
                </div>
                <div class="form-actions">
                    <input type="hidden" name="pid" value="{$parent.id}" />
                    <input type="button" value="{:L('go_back')}" onclick="javascript:history.go(-1);" class="btn">
                    <input type="submit" value="{:L('submit')}" class="btn btn-success">
                </div>
            </form>
        </div>
    </div>
</block>